{% extends "navbar.html" %}
{% block content %}
<style>
    .container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        background: white;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    h1 {
        text-align: center;
        color: #2c3e50;
        font-size: 28px;
        margin-bottom: 20px;
    }

    h3 {
        color: #16a085;
        border-left: 4px solid #1abc9c;
        padding-left: 10px;
        margin-top: 20px;
    }

    p {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
    }
</style>

<div class="container">
    <h1>西游记 ———— 吴承恩</h1>
    {% for title, content in datas %}
    <h3>{{ title }}</h3>
    <p>{{ content }}</p>
    {% endfor %}
</div>
{% endblock %}
